package com.imooc.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * FileName: SellerInfo.java
 * Description: 卖家账号信息实体类
 *
 * @author HuangRI(874668739 @ qq.com)
 * @version 1.0
 * @date 2020/12/31
 */
@Entity
@Data
@DynamicUpdate
public class SellerInfo {

    /** 卖家ID */
    @Id
    private String sellerId;

    /** 账号 */
    private String username;

    /** 密码 */
    private String password;

    /** 卖家微信openid */
    private String openid;

    private Date createTime;

    private Date updateTime;
}
